package com.woniuxy.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
public class DishAttribute {
    private int id;
    private String name;
    private String status;
    //菜品规格外键，关联菜品规格表ID
    private int specId;
    //菜品外键，关联菜品表ID
    private int dishId;
    //差价属性，用于选用不同规格时改变价格
    private BigDecimal diffPrice;
}
